package com.heakey.common.annotation;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface SpeedLimit {

    // 缓存key
    String key();

    // 单位:秒
    int effectiveTime() default 30;
}
